package main

import (
	"fmt"
	"leetcode/14/solution"
)

// 14题
// 最长公共前缀
// https://leetcode-cn.com/problems/longest-common-prefix/

func main() {
	var (
		case1 = []string{"flower", "flow", "flight"}
	)

	// 方案1
	fmt.Println(solution.V1(case1))

	// 方案2
	fmt.Println(solution.V2(case1))
}
